const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  userInfo: state => state.user.user ? JSON.parse(state.user.user) : {},
  formLabelWidth: state => state.settings.formLabelWidth,
  title: state => state.settings.title,
  dynamicColumn: state => state.dynamicColumn
}
export default getters
